The argument is unused.
That's also the reason why we can pass NULL instead of the real GC in
the caller.
gtk_text_layout_draw (GtkTextLayout *layout,
GtkWidget *widget,
GdkDrawable *drawable,
- GdkGC *cursor_gc,
+ gpointer cursor_gc,
/* Location of the drawable
in layout coordinates */
gint x_offset,
void gtk_text_layout_draw (GtkTextLayout *layout,
GtkWidget *widget,
GdkDrawable *drawable,
- GdkGC *cursor_gc,
+ gpointer cursor_gc,
gint x_offset,
gint y_offset,
gint x,
cairo_paint (cr);
gtk_text_layout_draw (layout, widget, drawable,
- widget->style->text_gc [gtk_widget_get_state (widget)],
+ NULL,
- (1 + DRAG_ICON_LAYOUT_BORDER),
- (1 + DRAG_ICON_LAYOUT_BORDER),
0, 0,